# @Time    : 2024/4/30 15:14
# @Author  : SunJian
# @Email   : 330160114@qq.com
# @File    : urls.py
# @Software: PyCharm
"""
文件说明：

"""
from django.urls import path
from .views import UserNameCountView,MobileCountView,RegisterView

urlpatterns = [
    # 判断用户名是否重复
    path('usernames/<username:username>/count/', UserNameCountView.as_view()),
    # 判断手机号是否重复
    path('mobiles/<mobile:mobile>/count/', MobileCountView.as_view()),

    # 用户注册接口
    path('register/', RegisterView.as_view()),
]